<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页面</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/login.css">

</head>

<body>
    <!-- 导航栏 -->
    <div class="nav">
        <img src="img/logo.jpg" alt="">
        <span class="title">博客系统</span>
        <!-- 用来占据中间位置 -->
        <span class="spacer"></span>
        <a href="blog_list.html">博客广场</a>
        <a href="reg.html">注册</a>
    </div>
    <!-- 版心 -->
    <div class="login-container">
        <!-- 中间的登陆框 -->
        <div class="login-dialog">
            <h3>博客系统</h3>
            <div class="row">
                <span>用户名</span>
                <input type="text" id="username" placeholder="请输入用户名" style="font-size: 10px;">
            </div>
            <div class="row">
                <span>密码</span>
                <input type="password" id="password" placeholder="请输入密码" style="font-size: 10px;">
            </div>
            <div class="row">
                <span>验证码</span>
                <input id="code" style="width: 70px;" onkeydown="handleEnter(event)">&nbsp;&nbsp;
                <img onclick="refreshCode()" id="codeimg" style="display:none;height: 45px;width: 120px; border-radius: 5px;">
            </div>
            <div class="row">
                <button id="submit" onclick="mysubmit()" style="margin-top: 5px;">登录</button>
            </div>
        </div>
    </div>

    <script src="./js/jquery.min.js"></script>
    <script src="./js/login.js"></script>

</body>

</html>